package com.shaomengjie.smjmvp.utils;

import android.content.Context;
import android.graphics.Color;

import com.muddzdev.styleabletoastlibrary.StyleableToast;

/**
 * Created by shaomengjie on 2017/4/20.
 */

public class ToastUtils {

    public static void showToast(Context context, String string){
        StyleableToast st = new StyleableToast
                .Builder(context, string)
                .withBackgroundColor(Color.RED)
                .withTextColor(Color.WHITE)
                .withBoldText()
                .build();
        st.show();
    }
}
